package hu.u_szeged.inf.ovrt.filelister.ui;

import java.awt.Color;

/**
 * User interface implementation.
 */
public interface UserInterface {

    /**
     * Print a line without new line character.
     * @param msg message.
     * @param color color.
     */
    void print(String msg, Color color);

    /**
     * Print a line with new line character.
     * @param msg message.
     * @param color color.
     */
    void printLn(String msg, Color color);

    /**
     * Read a line from input.
     * @return read line.
     */
    String readLn();
}
